package com.zhou.bpm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhou.bpm.domain.vo.NodeApproverVo;
import com.zhou.bpm.entity.BpmNodeApprover;
import com.zhou.bpm.mapper.BpmNodeApproverMapper;
import com.zhou.bpm.service.IBpmNodeApproverService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/25 10:36
 */
@Service
public class BpmNodeApproverServiceImpl extends ServiceImpl<BpmNodeApproverMapper, BpmNodeApprover> implements IBpmNodeApproverService {

    @Override
    public List<NodeApproverVo> getNodeApproverList(String processCode, String nodeCode) {
        return baseMapper.getNodeApproverList(processCode,nodeCode);
    }

    @Override
    public void removeApprover(String processCode, String nodeCode) {
        baseMapper.removeApprover(processCode,nodeCode);
    }
}
